package com.zy.datareceiver.binsess.warning.email.service;

import javax.mail.MessagingException;

public interface EmailService {
    void  sendSimpleMail(String to,String subject,String content);

    //HTML邮件
    void sendHTMLMail(String to,String subject,String content) throws MessagingException ;

    //附件邮件
    void sendAttachmentMail(String to,String subject,String content,String filePath) throws MessagingException ;

    //图片邮件
    void sendInlineResourceMail(String to,String subject,String content,String rscPath,String rscId) throws MessagingException;
}
